05. Spring Security

JAVA C2 L5 05 Spring Security

Spring Security is a part of the Spring Framework and provides authentication, authorization and other security features for Spring-based applications.

Item Description
spring-boot-starter-security Maven dependency that adds security module.
@EnableWebSecurity Annotation that enables Spring Security’s support.

How do you override the default security and provide your own configuration?

SOLUTION: Extend WebSecurityConfigurerAdapter